using System;
using System.Collections.Generic;
namespace PharmacyPharnet.Core.CustomEventArgs
{
    public class CustomBaseEventArg : EventArgs
    {
        private Dictionary<string, object> listParam;
        private object obj; //use for test
        public CustomBaseEventArg()
            : base()
        {
        }

        public Dictionary<string, object> Params
        {
            get 
            {
                if (listParam == null)
                {
                    listParam = new Dictionary<string, object>();
                }
                return listParam;
            }
            set { listParam = value; }
        }

        public object ResultObject
        {
            get { return obj; }
            set { obj = value; }
        }
    }
}
